package com.one.shopping.entity;

/**
 * @author 柯尊诚
 * @version 1.0
 * @date 创建时间：2016/1/9 11:10
 */
public class Result {

    private int code;   //返回码
    private String data;    //数据
    private String message;    //消息

    public Result() {
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "Result{" +
                "code=" + code +
                ", data='" + data + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
